<template>
  <div>
    我是后代组件
    <br>
    <h1>{{ xxx }}</h1>
    <button @click="fn('111')">调用方法</button>
  </div>
</template>
<script>
export default {
  inject: ['xxx', 'fn', 'that']
}
</script>
<style></style>
